//
//  PillowSwitchOpenCell.m
//  Lightthings
//
//  Created by 王岩 on 2025/1/16.
//

#import "PillowSwitchOpenCell.h"

@implementation PillowSwitchOpenCell

- (void)setModel:(NormalArrowModel *)model {
    [super setModel:model];
    
    self.titleLab.text = model.title;
    self.iconView.image = U_imageNamed(model.icon);
    self.subTitle.text = model.value;
    
    self.contentView.backgroundColor = KLColor(model.color);
    
   
}

- (void)awakeFromNib {
    [super awakeFromNib];
    self.layer.cornerRadius = 10;
    self.layer.masksToBounds =  YES;
    
    
    
    // Initialization code
}

@end
